package top.aicey.ai.sparring.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import top.aicey.ai.sparring.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 系统-用户表
 * </p>
 *
 * @author 白杨
 * @since 2025-01-24
 */
@Getter
@Setter
@TableName("system_user")
public class User extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 用户名
     */
    private String username;

    /**
     * 账号名
     */
    private String account;

    /**
     * 密码
     */
    private String password;

    /**
     * 角色id
     */
    private Integer roleId;
}
